home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / oleo-1_4.lha / oleo-1.4 / errors.h < prev    next >
Text File  |  1993-01-01  |  1KB  |  37 lines

  1. /*    Copyright (C) 1990, 1992, 1993 Free Software Foundation, Inc.
  2.  
  3. This file is part of Oleo, the GNU Spreadsheet.
  4.  
  5. Oleo is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2, or (at your option)
  8. any later version.
  9.  
  10. Oleo is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13. GNU General Public License for more details.
  14.  
  15. You should have received a copy of the GNU General Public License
  16. along with Oleo; see the file COPYING.  If not, write to
  17. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  18.  
  19. /* These are all the possible error codes that eval_expression() can return. */
  20. #define ERR_CMD        1
  21. #define BAD_INPUT    2
  22. #define NON_NUMBER    3
  23. #define NON_STRING    4
  24. #define NON_BOOL    5
  25. #define NON_RANGE    6
  26. #define OUT_OF_RANGE    7
  27. #define NO_VALUES    8
  28. #define DIV_ZERO    9
  29. #define BAD_NAME    10
  30. #define NOT_AVAL    11
  31. #define PARSE_ERR    12
  32. #define NO_OPEN        13
  33. #define NO_CLOSE    14
  34. #define NO_QUOTE    15
  35. #define BAD_CHAR    16
  36. #define BAD_FUNC    17
  37.